import {defineStore} from 'pinia'

export const useGlobalStore = defineStore("global", {
    state: () => {
        return ({
            fileName: "读取中…",
            fileSize: "读取中…",
            fileType: "读取中…",
            originalUrl: null,
            coverUrl: null,
            pdfUrl: null,
            html: [],
            stylesheet: [],
            sheetNames: [],
            sheetNum: 0
        })
    }
});
export default useGlobalStore
